/**
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：历史出入金记录                                                    
*│　作    者：gaotang                                              
*│　版    本：1.0   模板代码自动生成                                              
*│　创建时间：2019-04-08 14:38:39                            
*└──────────────────────────────────────────────────────────────┘
*┌──────────────────────────────────────────────────────────────┐
*│　命名空间: BestTrader.Cms.Models                                  
*│　类    名：History_CashChanges                                     
*└──────────────────────────────────────────────────────────────┘
*/
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BestTrader.Cms.Models
{
	/// <summary>
	/// gaotang
	/// 2019-04-08 14:38:39
	/// 历史出入金记录
	/// </summary>
	[Table("History_CashChanges")]
	public class History_CashChanges
	{
		/// <summary>
		/// 主键
		/// </summary>
		[Key]
		public Int32 Id {get;set;}

		/// <summary>
		/// 风软编号
		/// </summary>
		[Required]
		[MaxLength(10)]
		public Int32 CashChangesID {get;set;}

        /// <summary>
        /// 资料编号
        /// </summary>
        [Required]
        [MaxLength(10)]
        public Int32 Account_ID { get; set; }
        

        /// <summary>
        /// 操作时间
        /// </summary>
        [MaxLength(23)]
		public DateTime? Action_Time {get;set;}

		/// <summary>
		/// 状态
		/// </summary>
		[Required]
		[MaxLength(10)]
		public Int32 Cash_State {get;set;}

        /// <summary>
        /// 金额
        /// </summary>
        [MaxLength(18)]
        public Decimal? Amount { get; set; }

        /// <summary>
        /// 是否进行中
        /// </summary>
        [MaxLength(1)]
		public Boolean? IsProcessed {get;set;}

		/// <summary>
		/// 货币类型
		/// </summary>
		[MaxLength(16)]
		public String CurrencyCode {get;set;}

		/// <summary>
		/// 备注
		/// </summary>
		[MaxLength(128)]
		public String Remark {get;set;}

		/// <summary>
		/// 创建人
		/// </summary>
		[MaxLength(32)]
		public String CreatedBy {get;set;}

		/// <summary>
		/// 是否删除
		/// </summary>
		[MaxLength(1)]
		public Boolean? IsDispose {get;set;}

		/// <summary>
		/// 平仓人
		/// </summary>
		[MaxLength(32)]
		public String DisPoser {get;set;}

		/// <summary>
		/// 平仓时间
		/// </summary>
		[MaxLength(32)]
		public String DisPoseTime {get;set;}

		/// <summary>
		/// 资料名称
		/// </summary>
		[MaxLength(32)]
		public String AccountName {get;set;}

        /// <summary>
        /// 金额
        /// </summary>
        [MaxLength(18)]
        public Decimal? RMBAmount { get; set; }

        /// <summary>
        /// 手续费类型
        /// </summary>
        [MaxLength(10)]
        public Int32 ServiceChargeType { get; set; }

        /// <summary>
        /// 手续费编号
        /// </summary>
        [MaxLength(10)]
        public Int32 ServiceChargeId { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        [Required]
		[MaxLength(10)]
		public Int32 AddManagerId {get;set;}

		/// <summary>
		/// 添加时间
		/// </summary>
		[Required]
		[MaxLength(23)]
		public DateTime AddTime {get;set;}

		/// <summary>
		/// 修改人
		/// </summary>
		[MaxLength(10)]
		public Int32? ModifyManagerId {get;set;}

		/// <summary>
		/// 修改时间
		/// </summary>
		[MaxLength(23)]
		public DateTime? ModifyTime {get;set;}

		/// <summary>
		/// 是否删除
		/// </summary>
		[Required]
		[MaxLength(1)]
		public Boolean IsDelete {get;set;}


	}
}
